var URLS = {

    // Application urls
    APP_TAG_LIST: DOMAIN_PATH + 'app/tag/list',
    APP_TAG_BY_USAGE_LIST: function(usage) {
        return DOMAIN_PATH + 'app/tag/usage/' + usage + '/list';
    },
    APP_TAG_ACTION_ADD: DOMAIN_PATH + 'app/tag/action/add',
    APP_TAG_BY_ID: function(id) {
        return DOMAIN_PATH + 'app/tag/id/' + id;
    },
    APP_TAG_BY_USAGE_VERSION_LIST: function(usage) {
        return DOMAIN_PATH + 'app/tag/usage/' + usage + '/version/list';
    },
    APP_TAG_BY_ID_VERSION_LIST: function(id) {
        return DOMAIN_PATH + 'app/tag/id/' + id + '/version/list';
    },
    APP_TAG_BY_ID_VERSION_ACTION_ADD: function(id) {
        return DOMAIN_PATH + 'app/tag/id/' + id + '/version/action/add';
    },
    APP_VERSION_BY_ID: function(id) {
        return DOMAIN_PATH + 'app/version/id/' + id;
    },
    APP_VERSION_BY_ID_ACTION_DEPLOY: function(id) {
        return DOMAIN_PATH + 'app/version/id/' + id + '/action/deploy';
    },
    APP_VERSION_BY_ID_ACTION_LOG: function(id) {
        return DOMAIN_PATH + 'app/version/id/' + id + '/action/log';
    },
    APP_VERSION_BY_ID_API_BY_USAGE_PAGE: function(id, usage) {
        return DOMAIN_PATH + 'app/version/id/' + id + '/api/usage/' + usage + '/page';
    },
    APP_VERSION_BY_ID_API_BY_USAGE_PAGE_COUNT: function(id, usage) {
        return DOMAIN_PATH + 'app/version/id/' + id + '/api/usage/' + usage + '/page/count';
    },
    APP_VERSION_BY_ID_API_ACTION_ADD: function(id) {
        return DOMAIN_PATH + 'app/version/id/' + id + '/api/action/add';
    },
    APP_API_BY_ID: function(id) {
        return DOMAIN_PATH + 'app/api/id/' + id;
    },

    // Storage urls
    STORAGE_BUCKET_LIST_URL: DOMAIN_PATH + 'storage/bucket/list',
    STORAGE_BUCKET_ACTION_ADD_URL : DOMAIN_PATH + 'storage/bucket/action/add',
    STORAGE_BUCKET_BY_ID_URL: DOMAIN_PATH + 'storage/bucket/id/',
    STORAGE_BUCKET_BY_ID_RESOURCE_ACTION_UPLOAD_URL: function(bucketId) {
        return DOMAIN_PATH + 'storage/bucket/' + bucketId + '/resource/action/upload';
    },
    STORAGE_BUCKET_BY_ID_RESOURCE_PAGE_LIST_URL: function(bucketId) {
        return DOMAIN_PATH + 'storage/bucket/' + bucketId + '/resource/page/list';
    },
    STORAGE_BUCKET_BY_ID_RESOURCE_PAGE_COUNT_URL: function(bucketId) {
        return DOMAIN_PATH + 'storage/bucket/' + bucketId + '/resource/page/count';
    },
    STORAGE_BUCKET_BY_ID_RESOURCE_BY_ID_URL: function(bucketId, resourceId) {
        return DOMAIN_PATH + 'storage/bucket/' + bucketId + '/resource/id/' + resourceId;
    },

};

var GLOBAL_CONSTANT = {
	PAGE_SIZE: 10
};
